package com.bigfire.dtm.dal.entity.tenant;

import com.bigfire.dtm.shared.common.BaseEntry;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 租户
 * @author Damon S.
 * @version v1.0.1
 * @date {YEAR}年{MONTH}月{DAY}日 {TIME}
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@MappedSuperclass
public class TenantEntry extends BaseEntry {

    @Column(name = "tenant_id")
    private Long tenantId;
}
